package com.cl.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_resume")
@ApiModel(value = "Resume对象", description = "简历表")
public class Resume implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("大学")
    @TableField("college")
    private String college;

    @ApiModelProperty("姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("性别")
    @TableField("gender")
    private String gender;

    @ApiModelProperty("生日")
    @TableField("birthday")
    private LocalDate birthday;

    @ApiModelProperty("民族id")
    @TableField("nation_id")
    private Integer nationId;

    @ApiModelProperty("身高")
    @TableField("height")
    private Double height;

    @ApiModelProperty("体重")
    @TableField("weight")
    private Double weight;

    @ApiModelProperty("政治面貌id")
    @TableField("political_face_id")
    private Integer politicalFaceId;

    @ApiModelProperty("最高学历")
    @TableField("tiptop_degree")
    private String tiptopDegree;

    @ApiModelProperty("所学专业")
    @TableField("expertise")
    private String expertise;

    @ApiModelProperty("期望职位")
    @TableField("desired_position_id")
    private Integer desiredPositionId;

    @ApiModelProperty("现居住地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty("联系电话")
    @TableField("mobile")
    private String mobile;

    @ApiModelProperty("所获奖项")
    @TableField("award")
    private String award;

    @ApiModelProperty("自我评价")
    @TableField("self_evaluation")
    private String selfEvaluation;

    @ApiModelProperty("学生id")
    @TableField("stu_id")
    private Integer stuId;


}
